<?php
//
// +---------------------------------------------------------------------------------+
// | Package: EezeeSite Client                                                       |
// +---------------------------------------------------------------------------------+
// | Copyright (C) 2006  EezeeSite Development Team                                  |
// +---------------------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or                   |
// | modify it under the terms of the GNU General Public License                     |
// | as published by the Free Software Foundation; either version 2                  |
// | of the License, or (at your option) any later version.                          |
// |                                                                                 |
// | This program is distributed in the hope that it will be useful,                 |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                   |
// | GNU General Public License for more details.                                    |
// |                                                                                 |
// | You should have received a copy of the GNU General Public License               |
// | along with this program; if not, write to the Free Software                     |
// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. |
// +---------------------------------------------------------------------------------+
// | Author: Mayukh De <mayukhde@gmail.com>                                          |
// +---------------------------------------------------------------------------------+
//

$GLOBALS['ES']['LANG']['ENCODING'] = 'iso-8859-1';

$GLOBALS['ES']['LANG']['SYSERROR']['DIRNOEXIST']    = '<b>%s</b> does not exist';
$GLOBALS['ES']['LANG']['SYSERROR']['DIRNOWRITE']    = '<b>%s</b> is not writable';
$GLOBALS['ES']['LANG']['SYSERROR']['INVALID']       = '<b>%s</b> is not a valid systemCheckPoint';
$GLOBALS['ES']['LANG']['SYSERROR']['UNHANDLED']     = '<b>%s%s</b> is an unhandled system action';
$GLOBALS['ES']['LANG']['SYSERROR']['LOGNOWRITE']    = 'Permission denied on the local log file (%s) for reading or writing.<br />Original message:<br />';
$GLOBALS['ES']['LANG']['SYSERROR']['NOREDIRECTURL'] = 'An URL must be specified while sending redirection headers';
$GLOBALS['ES']['LANG']['SYSERROR']['SYSDOWNMSG']    = 'The system is down for maintenance.';
$GLOBALS['ES']['LANG']['SYSERROR']['NOWEBFORM']     = 'The webform <b>%s</b> does not exist.';

$GLOBALS['ES']['LANG']['INSTALLPROMPT'] = 'The ES Client at has not been completely installed. The site admin must run the installer.';
$GLOBALS['ES']['LANG']['INSTALLTERMS']  = 'abcd';

$GLOBALS['ES']['LANG']['POSTSIGNUPOPTIONS'] = array(
                                                   'AUTOLOGINUSER'      => 'Automatically login user',
                                                   'SENDACTIVATIONMAIL' => 'Send activation email',
                                                   'PROMPTUSERLOGIN'    => 'Prompt user to login',
                                                   'NOACTION'           => 'Do nothing (let user decide)'
                                                   );
                                                   
$GLOBALS['ES']['LANG']['AREAPERMNAMES'] = array(
                                               'ADMIN'    => array('Home', 'Upgrade Client', 'User Management', 'Group Management', 'Page Management', 'Site Management'),
                                               'USER'     => array(
                                                                  'LEVEL1' => array('%s\'s Homepage', '%s\'s Profile', '%s\'s Friends', '%s\'s Photos', '%s\'s Pages', '%s\'s Bookmarks', '%s\'s Contributions'),
                                                                  'LEVEL2' => array('Rate %s\'s Profile', 'Add a Comment', 'Add a Note', 'Request Contact', 'Rate this Photo', 'Add a Comment', 'Rate this Page', 'Rate this Bookmark'),
                                                                  'LEVEL3' => array('My Messages', 'My Contacts', 'My Notes', 'My Profile', 'My Gallery', 'My Pages', 'My Bookmarks')
                                                                  ),
                                               'CATEGORY' => array()
                                               );
                                               
$GLOBALS['ES']['LANG']['FORMRULES']['REQUIRED']         = ' is required';
$GLOBALS['ES']['LANG']['FORMRULES']['NUMERICONLY']      = ' may contain only digits';
$GLOBALS['ES']['LANG']['FORMRULES']['LETTERSONLY']      = ' may contain only letters';
$GLOBALS['ES']['LANG']['FORMRULES']['ALPHANUMERICONLY'] = ' may contain only letters and digits';

$GLOBALS['ES']['LANG']['AUTH']['FORM']['USER']       = 'Username/Email';
$GLOBALS['ES']['LANG']['AUTH']['FORM']['EMAIL']      = 'Email';
$GLOBALS['ES']['LANG']['AUTH']['FORM']['PASS']       = 'Password';
$GLOBALS['ES']['LANG']['AUTH']['FAIL']['INVALID']    = 'The %s you provided is invalid';
$GLOBALS['ES']['LANG']['AUTH']['FAIL']['NOINPUT']    = 'Please enter a %s';                                               
$GLOBALS['ES']['LANG']['AUTH']['FAIL']['IDLED']      = 'You have been idle too long. Please login again.';
$GLOBALS['ES']['LANG']['AUTH']['FAIL']['SESSIONOUT'] = 'Your session has timed out. Please login again.';
$GLOBALS['ES']['LANG']['AUTH']['FAIL']['INACTIVE']   = 'Unable to log you in. You may need to activate your account or it may have been deactivated by the site admin.';
$GLOBALS['ES']['LANG']['AUTH']['FAIL']['FAIL']       = 'You specified an invalid email address or incorrect password. Please retry.';
$GLOBALS['ES']['LANG']['AUTH']['OK']['LOGOUT']       = "You have been logged out successfully.\nDo come back again soon.";
$GLOBALS['ES']['LANG']['AUTH']['PASSWORD']['FAIL']   = 'Unable to locate the username/password you specified in the database.';
$GLOBALS['ES']['LANG']['AUTH']['PASSWORD']['OK']     = 'Your new password has been sent to your email address for your reference.';
$GLOBALS['ES']['LANG']['AUTH']['STATUS']['UNLOGGED'] = array('<img src="%sapplication_get.png" />&nbsp;login', '<img src="%sadd.png" />&nbsp;register');//'<img src="%s"> <a href="#login" onclick="showLoginBox();">login</a> | <img src="%s"> <a href="%s">register</a>';
$GLOBALS['ES']['LANG']['AUTH']['STATUS']['LOGGEDIN'] = array('<img src="%suser_suit.png" />&nbsp;logged in as %s', '<img src="%spage.png" />&nbsp;my page', '<img src="%sapplication_go.png" />&nbsp;logout');//'<img src="%s"> logged in as %s | <img src="%s"> <a href="%s">my page</a> | <img src="%s"> <a href="#logout" onclick="logOut();">logout</a>';
                                                                 
$GLOBALS['ES']['LANG']['REGISTERPAGE']['TERMS']  = 'abcd';
$GLOBALS['ES']['LANG']['REGISTERPAGE']['DESC']   = '';
$GLOBALS['ES']['LANG']['REGISTERPAGE']['KEYWRD'] = '';
$GLOBALS['ES']['LANG']['REGISTERPAGE']['TITLE']  = 'Register Here for a Free Account';

$GLOBALS['ES']['LANG']['HOMEPAGE']['DESC']   = '';
$GLOBALS['ES']['LANG']['HOMEPAGE']['KEYWRD'] = '';
$GLOBALS['ES']['LANG']['HOMEPAGE']['TITLE']  = 'EezeeSite Demo Home';

$GLOBALS['ES']['LANG']['EMAILER']['NEWPASSWORD'] = "Hello %s\n\nThis is in response to a Password Reminder request by you or someone claiming to be you.\n\nYour new password is: %s\n\nIf you did not request the change, someone could be trying to access your email without your approval. Though the person in question will not be able to access your account yet with this new password, we strongly recommend you to immediately report this possible abuse.\n\nThanks\n\n%s Team\n%s";

//////////////////////////////                                                                 

$GLOBALS['ES']['LANG']['INSTALLFAIL']['NOCONFIGCREATE'] = 'Unable to create the configuration file for the client.';

$GLOBALS['ES']['LANG']['AUTHBOX']['FORM']['EMAIL']      = 'Email Address';
$GLOBALS['ES']['LANG']['AUTHBOX']['FORM']['PASS']       = 'Password';
$GLOBALS['ES']['LANG']['AUTHBOX']['FORM']['BUTTON']     = 'Log In';
$GLOBALS['ES']['LANG']['AUTHBOX']['NOTE']['HELP']       = 'Help';
$GLOBALS['ES']['LANG']['AUTHBOX']['NOTE']['USER']       = 'Logged in as';
$GLOBALS['ES']['LANG']['AUTHBOX']['NOTE']['LOGOUT']     = 'Log Out';

$GLOBALS['ES']['LANG']['LEFTMENU']['HOME']     = 'Home';
$GLOBALS['ES']['LANG']['LEFTMENU']['REGISTER'] = 'Register';
$GLOBALS['ES']['LANG']['LEFTMENU']['PERSONAL'] = 'Personal Area';
$GLOBALS['ES']['LANG']['LEFTMENU']['ADMIN']    = 'Admin Panel';
$GLOBALS['ES']['LANG']['LEFTMENU']['SITEDOCS'] = 'More...';

$GLOBALS['ES']['LANG']['RIGHTMENU']['EMAIL'] = 'Email a friend';
$GLOBALS['ES']['LANG']['RIGHTMENU']['PRINT'] = 'Print page';
$GLOBALS['ES']['LANG']['RIGHTMENU']['FEEDS'] = 'Feeds';

$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_UNKNOWN']          = 'An unknown error has occured. %s';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_LUERR']            = 'An error has occurred in the authentication and permission system.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_NOACTION']         = 'The system can not perform the following action: %s';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_SITECLOSED']       = '<h2>Under maintenance</h2>This site is currently down for maintenance. Please try again later.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_ARRAYEXPCT']       = 'Expecting an array: %s';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_NOFORM']           = 'The following form is not available: %s';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_NOACC']            = 'There is no account registered on this site with the email address "%s".';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_INSTALLFAIL']      = '<h2>Error in installation</h2> %s';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_DBERR']            = '%s';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_404']              = '<h2>Document not found</h2>The document you are looking for was not found on this server.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_REGFALSE']         = 'This site has disabled new user registration at this time';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_TBLNOTFOUND']      = 'The tablename <b>%s</b> could not be found in the database.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_FORBIDDEN']        = '<h2>Action/access forbidden</h2>You do not have the necessary privileges for accessing this page or performing the selected action.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_REGFAIL']          = 'Another user is already registered using the %s you have entered.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_CAPTCHAFAIL']      = 'The phrase you entered did not match the one in the image.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_HPMODFAIL']        = 'There was a problem and the homepage could not be updated now.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_HPMODSUCCESS']     = 'The homepage has been updated successfully.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_GRPADDERR']        = 'The new usergroup could not be created. %s<br />Please retry.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_GRPADDED']         = 'The new group has been created.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_TITLEEXISTS']      = 'There is already another page with the Title you have entered.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_URLEXISTS']        = 'There is already another page with the URL you have entered.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_DOCMODFAIL']       = 'The page could not be %s at this time. Please try later.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_DOCMODDONE']       = 'The page has been successfully %s.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_NODOCS']           = 'There are no pages available for public viewing at this time.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_ACCEDITFAIL']      = 'The account details could not not be updated at this time. Please try later.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_ACCEDITSUCCESS']   = 'Account edited successfully.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_USRRTNGFAIL']      = 'The ratings for this user could not be updated now. Please try later.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_USRRTNGSUCCESS']   = 'Thank you for rating this user.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_CONFSETFAIL']      = 'The site configuration could not be reset now. Please retry.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_NOTPUBLIC']        = '<h2>%s</h2>The page is not available for public viewing at this time.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_FAT_NOTCLSSMTHD']      = '"%s" is not a method of the class being used.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_ACTIVATIONFAIL']   = 'The account can not be activated: %s.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_ACTIVEACC']        = '<h2>%s</h2>';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_REGSTATUSFAIL']    = 'User registration status could not be updated.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_REGSTATUSUPDATE']  = 'User registration status has been updated.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_CONFSETFAIL']      = 'Unable to update this site\'s configuration settings.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_CONFSETDONE']      = 'This site\'s configuration settings have been updated.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_PERMSUPDTFAIL']    = 'Permissions could not be updated. Please retry.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_SWITCHDONE']       = 'This site is now %s to the public.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_ERR_SWITCHFAIL']       = 'Could not update the site status. Please retry.';
$GLOBALS['ES']['LANG']['RESPONSE']['ES_MSG_PERMSUPDTSUCCESS'] = 'Permissions have been updated.<br />%s';

$GLOBALS['ES']['LANG']['ADDRESPNSTEXT']['INSTALLFAIL'] = array(
                                                         'One or more directories need to be writable in order to continue the installation.',
                                                         'Could not create the configuration file.',
                                                         'Could not create the database. Please check if the DB Username specified has permission to create new databases.',
                                                         'Could not create the necessary tables in the database.'
                                                         );
$GLOBALS['ES']['LANG']['ADDRESPNSTEXT']['PERMSUPDTSUCCESS'] = array(
                                                              'The group is now permitted to access or perform certain actions in your account.',
                                                              'Permission to access or perform certain actions in your account has been revoked for the group.',
                                                              'The user is now permitted to manage your account.',
                                                              'Permissions for the user to manage your account has been revoked.'
                                                              );
$GLOBALS['ES']['LANG']['ADDRESPNSTEXT']['ACTIVEACC'] = array(
                                                       'The account is already active. No more verification is required.',
                                                       'Congratulations! Your account has been activated and your email address has been verified.'
                                                       );
$GLOBALS['ES']['LANG']['ADDRESPNSTEXT']['ACTIVATIONFAIL'] = array(
                                                            'The password you provided does not match the one registered for the account',
                                                            'The account was previously active and must have been deactivated by the site admin',
                                                            'The system faced a temporary problem trying to activate the account. Please retry.'
                                                            );
$GLOBALS['ES']['LANG']['ADDRESPNSTEXT']['GRPADDERR'] = array(
                                                       'Another group already exists with the name that you have specified.',
                                                       '&nbsp;'//do not add anything here
                                                       );
$GLOBALS['ES']['LANG']['ADDRESPNSTEXT']['DOCMODACTION'] = array(
                                                          'created',
                                                          'updated'
                                                          );                                                                       
/*
$GLOBALS['ES']['LANG']['OPTNAMES']['ADMIN']['ADMIN']        = 'Admin Home';
$GLOBALS['ES']['LANG']['OPTNAMES']['ADMIN']['GROUP']        = 'Groups Manager';
$GLOBALS['ES']['LANG']['OPTNAMES']['ADMIN']['USER']         = 'Users Manager';
$GLOBALS['ES']['LANG']['OPTNAMES']['ADMIN']['ACCESS']       = 'Access Manager';
$GLOBALS['ES']['LANG']['OPTNAMES']['ADMIN']['SITE']         = 'Site Manager';
$GLOBALS['ES']['LANG']['OPTNAMES']['ADMIN']['DOCS']         = 'Page Manager';
$GLOBALS['ES']['LANG']['OPTNAMES']['PERSONAL_']['PERSONAL'] = 'Main';
$GLOBALS['ES']['LANG']['OPTNAMES']['PERSONAL_']['RATING']   = 'Rate User';
$GLOBALS['ES']['LANG']['OPTNAMES']['PERSONAL_']['ACCOUNT']  = 'Manage Account';
$GLOBALS['ES']['LANG']['OPTNAMES']['PERSONAL_']['NOTES']    = 'Notes';
*/
$GLOBALS['ES']['LANG']['OPTTITLES'] = array(
                                      'ADMIN'     => array(
                                                          'area_access'     => array('Admin Home', 'ADMIN'),
                                                          'manage_groups'   => array('Groups Manager', 'ADMINGRP'),
                                                          'manage_users'    => array('Users Manager', 'ADMINUSR'),
                                                          'access_control'  => array('Access Manager', 'ADMINACL'),
                                                          'manage_site'     => array('Site Manager', 'ADMINMNG'),
                                                          'manage_specials' => array('Page Manager', 'ADMINDOC')
                                                          ),
                                      'PERSONAL_' => array(
                                                          'area_access'     => array('%s\'s Page', 'PERSONAL'),
                                                          'rate_user'       => array('Rate User', 'PERSONALURT'),
                                                          'manage_account'  => array('Account Management', 'PERSONALMNG'),
                                                          'notes'           => array('Notes', 'PERSONALNTS')
                                                          ),
                                      );

$GLOBALS['ES']['LANG']['PAGEDATA']['SITEDOCS']['TITLESUFFIX'] = 'More...';
$GLOBALS['ES']['LANG']['PAGEDATA']['SITEDOCS']['METADESC']    = 'More pages in the site';
$GLOBALS['ES']['LANG']['PAGEDATA']['SITEDOCS']['METAKEYS']    = 'a, b, c, d';
$GLOBALS['ES']['LANG']['PAGEDATA']['REGISTER']['TITLESUFFIX'] = 'Register Here';
$GLOBALS['ES']['LANG']['PAGEDATA']['REGISTER']['METADESC']    = 'Join this great site';
$GLOBALS['ES']['LANG']['PAGEDATA']['REGISTER']['METAKEYS']    = 'a, b, c, d';
$GLOBALS['ES']['LANG']['PAGEDATA']['ACTIVATE']['TITLESUFFIX'] = 'Account activation';
$GLOBALS['ES']['LANG']['PAGEDATA']['ACTIVATE']['METADESC']    = 'Activate your account here';
$GLOBALS['ES']['LANG']['PAGEDATA']['ACTIVATE']['METAKEYS']    = 'a, b, c, d';

$GLOBALS['ES']['LANG']['AGREEMENTFORM']['HEADER']        = 'Agreement';
$GLOBALS['ES']['LANG']['AGREEMENTFORM']['AGREEMENTTXT']  = 'Abcd';
$GLOBALS['ES']['LANG']['AGREEMENTFORM']['CHECKBOXTXT']   = 'I agree with the terms of this Agreement';
$GLOBALS['ES']['LANG']['AGREEMENTFORM']['SUBMITTXT']     = 'Proceed';
$GLOBALS['ES']['LANG']['AGREEMENTFORM']['CHECKBOXALERT'] = 'You must agree with terms of this agreement to continue with the installation';

$GLOBALS['ES']['LANG']['DBSETUPFORM']['HEADER']        = 'Database installation';
$GLOBALS['ES']['LANG']['DBSETUPFORM']['CHECKBOXTXT']   = 'Proceed to create the database?';
$GLOBALS['ES']['LANG']['DBSETUPFORM']['SUBMITTXT']     = 'Proceed';
$GLOBALS['ES']['LANG']['DBSETUPFORM']['CHECKBOXALERT'] = 'You must check the box to create the database';

$GLOBALS['ES']['LANG']['DBTBLSETUPFORM']['HEADER']        = 'Setup the tables required and create the default entries';
$GLOBALS['ES']['LANG']['DBTBLSETUPFORM']['CHECKBOXTXT']   = 'Proceed to create the tables required and create the default entries?';
$GLOBALS['ES']['LANG']['DBTBLSETUPFORM']['SUBMITTXT']     = 'Proceed';
$GLOBALS['ES']['LANG']['DBTBLSETUPFORM']['CHECKBOXALERT'] = 'You must check the box to continue with the installation';

$GLOBALS['ES']['LANG']['FILEUPLOADFORM']['HEADER']['OWNPICUPLOAD'] = 'Upload your photo to be displayed in your page';
$GLOBALS['ES']['LANG']['FILEUPLOADFORM']['FILETXT']['OWNPICUPLOAD'] = 'Set location of your photo';
$GLOBALS['ES']['LANG']['FILEUPLOADFORM']['SUBMITTXT']['OWNPICUPLOAD'] = 'Upload';
$GLOBALS['ES']['LANG']['FILEUPLOADFORM']['FILEALERT']['OWNPICUPLOAD'] = 'No file was selected for upload';
$GLOBALS['ES']['LANG']['FILEUPLOADFORM']['FILERULESIZE']['OWNPICUPLOAD'] = 524288;
$GLOBALS['ES']['LANG']['FILEUPLOADFORM']['FILERULESIZEALERT']['OWNPICUPLOAD'] = 'The file you selected is too large';
$GLOBALS['ES']['LANG']['FILEUPLOADFORM']['FILERULEMIMETYPE']['OWNPICUPLOAD'] = array('image/jpeg', 'image/jpeg');
$GLOBALS['ES']['LANG']['FILEUPLOADFORM']['FILERULEMIMETYPEALERT']['OWNPICUPLOAD'] = 'The file must be jpeg'; 

?>